import axios from 'axios'
import qs from 'qs'



/* 根据环境来区分 */
switch (process.env.NODE_ENV) {
    case "production":
        axios.defaults.baseURL = "http://api.xiaodirong.cn"
        break
    case "test":
        axios.defaults.baseURL = "http://192.168.10.1";
        break
    default:
        axios.defaults.baseURL = "http://127.0.0.1:3000"
}